//
//  MKCustomAnnotation.m
//  UILbrary
//
//  Created by mac on 17/3/7.
//  Copyright © 2017年 mac. All rights reserved.
//

#import "MKCustomAnnotation.h"
#import "NSObject+IsEmptyObject.h"
@implementation MKCustomAnnotation

#pragma mark - lazy methods


- (NSString *)deviceStatue{
    
    if ([_deviceStatue isEmptyObject]) {
        _deviceStatue = @"";
    }
    return [@"状态：" stringByAppendingString:_deviceStatue];
}

- (NSString *)deviceBatteryLevel{
    if ([_deviceBatteryLevel isEmptyObject]) {
        _deviceBatteryLevel = @"";
    }
    return [@"电量：" stringByAppendingString:_deviceBatteryLevel];
}

- (NSString *)deviceLocationTime{
    if ([_deviceLocationTime isEmptyObject]) {
        _deviceLocationTime = @"";
    }
    return [@"定位时间：" stringByAppendingString:_deviceLocationTime];
}

- (NSString *)deviceSignalTime{
    if ([_deviceSignalTime isEmptyObject]) {
        _deviceSignalTime = @"";
    }
    return [@"信号时间：" stringByAppendingString:_deviceSignalTime];
}

- (NSString *)deviceName{
    if ([_deviceName isEmptyObject]) {
        _deviceName = @"";
    }
    return [@"名字：" stringByAppendingString:_deviceName];
}

- (NSString *)deviceAddress{
    if ([_deviceAddress isEmptyObject]) {
        _deviceAddress = @"";
    }
    return [@"地址：" stringByAppendingString:_deviceAddress];
}


@end

